package com.my.demo.mapper;

import com.my.demo.pojo.Employee;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.List;

public interface EmployeeMapper {
    /**
     * 获取所有的员工
     * @return
     */
    @Select("select * from employee")
    List<Employee> getAllEmployee();
}
